package com.dx.common.table.ppt;

/**
 * Created on 2017/10/3.
 */
public class Ret_paticle_rptId implements java.io.Serializable{
    private String ctrl_name;
    private String ctrl_item;

    public Ret_paticle_rptId() {
    }

    public Ret_paticle_rptId(String ctrl_name, String ctrl_item) {
        this.ctrl_name = ctrl_name;
        this.ctrl_item = ctrl_item;
    }

    public String getCtrl_name() {
        return ctrl_name;
    }

    public void setCtrl_name(String ctrl_name) {
        this.ctrl_name = ctrl_name;
    }

    public String getCtrl_item() {
        return ctrl_item;
    }

    public void setCtrl_item(String ctrl_item) {
        this.ctrl_item = ctrl_item;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Ret_paticle_rptId that = (Ret_paticle_rptId) o;

        if (ctrl_name != null ? !ctrl_name.equals(that.ctrl_name) : that.ctrl_name != null) return false;
        return ctrl_item != null ? ctrl_item.equals(that.ctrl_item) : that.ctrl_item == null;
    }

    @Override
    public int hashCode() {
        int result = ctrl_name != null ? ctrl_name.hashCode() : 0;
        result = 31 * result + (ctrl_item != null ? ctrl_item.hashCode() : 0);
        return result;
    }
}
